From: Konrad Rzeszutek Wilk Date: Wed, 26 Aug 2015 21:41:34 +0000 (-0400) Subject: tmem: Remove in xc_tmem_control_oid duplicate set_xen_guest_handle call X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2593^2~8 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=1682d2fdf6bcfb0f475c1720dad7a8215eb1ac79;p=xen.git tmem: Remove in xc_tmem_control_oid duplicate set_xen_guest_handle call We are doing another call to set_xen_guest_handle right after the xc_hypercall_bounce_pre (the correct place to do it). Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Andrew Cooper Acked-by: Wei Liu --- diff --git a/tools/libxc/xc_tmem.c b/tools/libxc/xc_tmem.c index 83522333e3..0d1bfb4284 100644 --- a/tools/libxc/xc_tmem.c +++ b/tools/libxc/xc_tmem.c @@ -110,7 +110,6 @@ int xc_tmem_control_oid(xc_interface *xch, op.pool_id = pool_id; op.u.ctrl.subop = subop; op.u.ctrl.cli_id = cli_id; - set_xen_guest_handle(op.u.ctrl.buf,buf); op.u.ctrl.arg1 = arg1; op.u.ctrl.arg2 = arg2; op.u.ctrl.oid[0] = oid.oid[0];